package xyz.caijiwang.response;

import lombok.Data;

/**
 * 自定义返回体样式
 */
@Data
public class CommonResponseResult {
    private int code;
    private String msg;
    private Object data;

    public CommonResponseResult() {
        this(200, "success", null);
    }

    public CommonResponseResult(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

}
